package com.test.t1;

import com.lh.spring.annotation.ioc.Autowired;
import com.lh.spring.annotation.ioc.Component;

/**
 * @Description Bean测试类
 * @Version 1.0.0
 * @Date 2024/1/14 23:31
 * @Created by LiuHua
 * @Path com.lh.test
 */
@Component
public class Student {
    @Autowired
    private Cat cat;
    @Autowired
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Cat getCat() {
        return cat;
    }

    public void setCat(Cat cat) {
        this.cat = cat;
    }
}
